package com.hn.birthdaymatch.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hn.birthdaymatch.model.Birthday;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface BirthdayMapper extends BaseMapper<Birthday> {

    /**
     * 列表
     * @param page
     * @param params
     * @return
     */
    List<Birthday> findList(Page<Birthday> page, @Param("b") Map<String, Object> params);


}
